package com.ruoyi.kaoyan.domain;

import java.util.List;

import com.baomidou.mybatisplus.annotation.TableField;
import com.ruoyi.common.core.domain.model.BaseEntityPlus;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.system.domain.SysFileInfo;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * 论坛帖子信息表(EducationForum)表实体类
 *
 * @author jiuling
 * @since 2023-04-26 13:41:54
 */
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class EducationForum extends BaseEntityPlus {
    /**
     * id
     */     
    @Excel(name = "id")
    @ApiModelProperty(value = "id")
    private Long id;
    /**
     * 审核标记（null：待审核 1：审核通过 0：审核不通过）
     */     
    @Excel(name = "审核标记（null：待审核 1：审核通过 0：审核不通过）")
    @ApiModelProperty(value = "审核标记（null：待审核 1：审核通过 0：审核不通过）")
    private Integer verFlag;
    /**
     * 版块分类id
     */     
    @Excel(name = "版块分类id")
    @ApiModelProperty(value = "版块分类id")
    private Long categoryId;
    /**
     * 标题
     */     
    @Excel(name = "标题")
    @ApiModelProperty(value = "标题")
    private String title;
    /**
     * 用户Id
     */     
    @Excel(name = "用户Id")
    @ApiModelProperty(value = "用户Id")
    private Long userId;
    /**
     * 内容
     */     
    @Excel(name = "内容")
    @ApiModelProperty(value = "内容")
    private String content;
    /**
     * 图片
     */     
    @Excel(name = "图片")
    @ApiModelProperty(value = "图片")
    private String imageGroupId;
    /**
     * 评论量
     */     
    @Excel(name = "评论量")
    @ApiModelProperty(value = "评论量")
    private Long commentSum;
    /**
     * 点赞量
     */     
    @Excel(name = "点赞量")
    @ApiModelProperty(value = "点赞量")
    private Long likeSum;
    /**
     * 阅读量
     */     
    @Excel(name = "阅读量")
    @ApiModelProperty(value = "阅读量")
    private Long readSum;
    /**
     * 收藏量
     */     
    @Excel(name = "收藏量")
    @ApiModelProperty(value = "收藏量")
    private Long starSum;

    @TableField(exist = false)
    private String imgPath;
    @TableField(exist = false)
    private List<SysFileInfo> imgPathList;
    @TableField(exist = false)
    private String userName;
    @TableField(exist = false)
    private String categoryName;

}
